From: Robert Mader Date: Thu, 18 Jan 2024 13:14:55 +0000 (+0100) Subject: tests/build: Silence meson deprecation warning X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~130 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5ab3177acdd8389db36d482503b3db7a037e1670;p=gnome-shell.git tests/build: Silence meson deprecation warning This produced the following warning: ``` DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. ``` The resulting value of `SHELL_BACKGROUND_IMAGE` was indeed bogus, not containing a proper file path. Part-of: --- diff --git a/tests/meson.build b/tests/meson.build index 821c83cd9..da4d40f05 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -56,7 +56,7 @@ shell_tests = [ gvc_typelib_path = fs.parent(libgvc.get_variable('libgvc_gir')[1].full_path()) libgvc_path = fs.parent(libgvc.get_variable('libgvc').full_path()) -background_file = files(join_paths('data', 'background.png')) +background_file = join_paths(meson.current_source_dir(), 'data', 'background.png') shell_testenv = environment() shell_testenv.set('G_DEBUG', 'fatal-warnings')